﻿html {
    font-size: 16px;
    font-family: Roboto,'Microsoft YaHei';
}

/*scrollbar*/
::-webkit-scrollbar-track {
    border-radius: 15px;
    margin: 12px 0 0 0;
}

::-webkit-scrollbar {
    width: 5px;
    height: 5px;
    margin: 5px 0;
}

::-webkit-scrollbar-thumb {
    margin: 5px 0;
    border-radius: 15px;
    background-color: #E4E8F3;
}

.rounded-5 {
    border-radius: 20px !important;
}

.border-b-solid {
    /* 分割线/下 */
    box-shadow: inset 0px -1px 0px #F0F3FA !important;
}

.block-center {
    /*flex 布局*/
    display: flex;
    /*实现垂直居中*/
    align-items: center;
}

.block-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/*组件样式全局修改start*/
.m-radio i {
    font-size: 21px !important;
}

.m-input__slot {
    margin-bottom: 0px !important;
}

.m-messages {
    min-height: 0px !important;
}

.m-navigation-drawer__border {
    width: 0
}

    .m-card.line {
        border-radius: 10px !important;
    }

.m-card__text {
    padding: 16px 24px;
    height: 100%;
}

.m-input .m-input__icon .mdi-menu-down {
    color: #A3AED0;
}

.m-input .m-label {
    /* BUTTON-按钮 */
    font-family: Roboto !important;
    font-style: normal !important;
    font-weight: 500 !important;
    font-size: 0.875rem !important;
    /*    line-height: 1rem !important;*/
    /* default color */
    color: #7681AB;
}

.m-input--checkbox .mdi-checkbox-blank-outline {
    color: #A3AED0 !important;
    caret-color: #A3AED0 !important;
}

.theme--light .m-input--is-disabled .mdi-checkbox-blank-outline {
    color: #E9EDF7 !important;
    caret-color: #E9EDF7 !important;
}

.theme--light .m-input--is-disabled .mdi-checkbox-marked {
    color: #E9EDF7 !important;
    caret-color: #E9EDF7 !important;
}

.m-input--checkbox .m-input--selection-controls__ripple:before {
    content: none;
}

.m-input--selection-controls__input:hover .mdi-checkbox-blank-outline {
    color: #4318FF !important;
    caret-color: #4318FF !important;
}

.m-radio .mdi-radiobox-blank {
    color: #A3AED0 !important;
    caret-color: #A3AED0 !important;
}


.table-header-fill .m-data-table-header tr {
    background: #F6F8FD;
}

.table-border-none td, th {
    border-bottom: 0px !important;
    box-shadow: none;
}

.table-border-solid td, th {
    border-bottom: 0 !important;
    box-shadow: none;
}

.primaryText .primaryText {
    color: #4318FF !important;
    caret-color: #4318FF !important;
}

.m-pagination__navigation, .m-pagination__item {
    box-shadow: 0px 0px 0px 0px rgb(0 0 0 / 20%), 0px 0px 0px 0px rgb(0 0 0 / 14%), 0px 0px 0px 0px rgb(0 0 0 / 12%) !important;
}

.m-btn--is-elevated {
    box-shadow: none !important;
}

.hide-shadow {
    box-shadow: none !important;
    border: none;
}

/* pagetabs */

.m-page-tabs .m-slide-group__prev.m-slide-group__prev--disabled {
    flex: none !important;
    min-width: 0px !important;
}

/* pagetabs */
/*组件样式全局修改end*/
/*shop*/
.ml300 {
    margin-left: 300px;
}

.commodity:hover {
    height: calc(100% + 10px);
}

    .commodity:hover .content {
        transition-property: margin-top;
        transition-duration: 0.5s;
        box-shadow: 0px 18px 40px rgba(112, 144, 176, 0.12) !important;
        margin-top: -4px;
    }

.order:hover {
    background-color: #6946FF !important;
}

    .order:hover .white-order {
        color: #FFFFFF !important;
        caret-color: #FFFFFF !important;
    }

.favorite:hover {
    background: #F6F8FD !important;
}
/*shop*/

.coupons.m-text-field > .m-input__control > .m-input__slot:before {
    border-color: transparent;
    border-style: hidden;
}

.coupons.m-text-field > .m-input__control > .m-input__slot:after {
    border-color: transparent;
    border-style: hidden;
}

.coupons .m-input__control .m-text-field__slot input::-webkit-input-placeholder {
    font-family: Roboto !important;
    font-style: normal !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    line-height: 1.1875rem !important;
    letter-spacing: 0.009375rem !important;
    color: #323D6F !important;
}

.m-text-field.m-input--dense:not(.m-text-field--outlined) .m-text-field__prefix, .m-text-field.m-input--dense:not(.m-text-field--outlined) .m-text-field__suffix, .m-text-field.m-input--dense:not(.m-text-field--outlined) input {
    padding-top: 0;
}

.max-height {
    height: 100% !important;
}

.max-width {
    width: 100% !important;
}

.full-width {
    width: 100% !important;
}

.full-height {
    height: 100% !important;
}

.hide {
    display: none;
}

.border-right-solid {
    border-right: 1px solid #ebe9f1;
}

.border-left-solid {
    border-left: 1px solid #ebe9f1;
}

.congratulation-medal {
    position: absolute;
    top: 0;
    right: 37px;
}

.a {
    color: #7367f0 !important;
    text-decoration: none;
}

.border-top-solid {
    border-top: 1px solid #d8d6de;
}

.border-solid {
    border: 1px solid #d8d6de;
}

.card-text {
    line-height: 1.5rem;
    box-sizing: border-box;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

.pro-nav > .m-tabs-bar {
    background-color: transparent !important;
}

.pro-nav .m-tab:before {
    background-color: transparent;
}

.m-btn {
    text-transform: none !important;
}

.list-unstyled {
    list-style: none;
}

.vertical-center {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}

.linear-gradient-purple {
    background: linear-gradient(118deg,#7367f0,rgba(115,103,240,.7))
}

.grey-bg {
    background-color: #f8f8f8;
}

.hover-pointer {
    cursor: pointer;
}

.justify-text-align {
    text-align: justify !important;
}

.relate-group .m-icon {
    font-size: 40px;
}

.relate-group .m-slide-group__next {
    margin-left: 10px;
}

.pointer-events-none {
    pointer-events: none;
}

.btn .m-label {
    color: #323D6F;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
}

.mtab-tab-linear-primary {
    background: linear-gradient(270deg, #4318FF 5.56%, rgba(67, 24, 255, 0) 100%);
}

.mtab-tab-linear-neutral {
    background: linear-gradient(270deg, #E9EDF7 0%, rgba(233, 237, 247, 0) 100%);
}

.mtab-tab-line {
    align-self: stretch;
    margin: 10px 0px;
    width: 87px;
    height: 6px;
    border-radius: 60px;
}

.mtab-tab-indicator {
    margin-top: 3px;
    margin-left: -1px;
    align-self: stretch;
    width: 22px;
    height: 22px;
}

.mtab-tab-indicator-primary {
    border: 4px solid #4318FF;
    box-sizing: border-box;
}

.mtab-tab-indicator-neutral {
    background: #F0F3FA;
    border: 4px solid #A3AED0;
    box-sizing: border-box;
}

.mtab-tab-title {
    position: absolute;
    top: 29px;
    font-family: Roboto;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #1B2559;
}

.auto-width {
    width: auto;
    margin: 0px 8px;
}

.hidden-webkit-scrollbar::-webkit-scrollbar {
    display: none;
}

.hidden-webkit-scrollbar {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    overflow-y: scroll;
}

.neutral-lighten-1--text .m-label {
    color: #323D6F !important;
}

.neutral-lighten-4--text .m-label {
    color: #A3AED0 !important;
}

.theme--light.m-text-field--outlined.neutral-lighten-4--text > .m-input__control > .m-input__slot fieldset {
    color: #A3AED0 !important;
}

.task-search.m-text-field > .m-input__control > .m-input__slot:before, .m-text-field > .m-input__control > .m-input__slot:after {
    width: 0 !important;
}

.task-search.m-text-field > .m-input__control > .m-input__slot:before, .m-text-field > .m-input__control > .m-input__slot:after {
    width: 0 !important;
}

.hide-timeline-before.m-timeline:before {
    content: none;
}

.pro-timeline-before.m-timeline:before {
    background-color: #E9EDF7 !important;
}


.divider-align-start .m-timeline-item__divider {
    align-items: start;
    margin-top: 8px;
}

td.text-center .m-input--checkbox .m-input__slot {
    justify-content: center !important;
}

.m-divider {
    border-color: #E9EDF7 !important;
}

.m-application .elevation-6 {
    box-shadow: 0 18px 40px 0 rgb(112 144 176 / 12%) !important;
}

.task-datepicker {
    border-radius: 0px !important;
}

input::-webkit-input-placeholder {
    color: #7681AB !important;
    font-size: 12px !important;
}

.user .m-data-table-header__icon {
    margin-top: 1px;
}

.neutral-lighten-icon .m-icon {
    color: #A3AED0 !important;
}

.m-timeline-flat .m-timeline-item__dot {
    box-shadow: none;
}

.chip-text {
    font-style: normal !important;
    font-weight: bold !important;
}

.m-application .remover-ripple a {
    color: #4318FF !important;
}

.remover-ripple .m-list-item:before {
    content: none !important;
}

.remover-ripple .m-ripple__container {
    opacity: 0 !important;
}

.remover-ripple .m-list-item:hover .m-list-item__title {
    color: #4318FF !important;
}

.remover-ripple-with-icon .m-list-item:hover .m-icon {
    color: inherit !important;
}

.cyan {
    background-color: #37A7FF !important;
}

.cyan--text {
    color: #37A7FF !important;
}

.cyan-light {
    background-color: #EBF6FF;
}

.theme--light.m-icon {
    color: #7681AB;
}

.invoice-list-avatar {
    width: 32px;
    height: 32px;
    font-size: .857rem;
    font-weight: 600;
}

.pagetabs .m-item-group.m-slide-group.m-tabs-bar {
    margin-top: 4px;
}

.m-page-tabs .m-page_tab {
    background-color: #FFF;
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1px;
    /* text/3-1次要 */
    color: #A3AED0 !important;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
}

.m-page_tab .m-icon {
    color: #A3AED0 !important;
    font-size: 16px !important;
}

.m-page_tab_active {
    background-color: #F0F3FA !important;
    font-family: Roboto;
    font-style: normal;
    font-weight: bold;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.1px;
    /* text/1-1强调 */
    color: #1B2559 !important;
}

    .m-page_tab_active > .m-icon {
        color: #1B2559 !important;
    }


.m-page-tabs > .m-tabs-bar {
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
    height: 36px;
    padding-left: 16px;
}

.m-page-tabs .m-tab:before {
    content: none !important;
}

.m-page-tabs .m-tab:hover {
    background-color: #F6F8FD;
    color: #485585 !important;
}

    .m-page-tabs .m-tab:hover > .m-icon {
        color: #485585 !important;
    }

.m-app-bar.rounded-b-4 > .m-toolbar__content {
    border-bottom-left-radius: 20px !important;
    border-bottom-right-radius: 20px !important;
}

.m-dialog--drawer .m-card {
    border-radius: 0;
}

/*dcc style*/

.env-list .m-list-item__title {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 28px;
    color: #A3AED0;
}

.env-list {
    margin: 16px 0 !important;
}

.m-list-item-group .env-list.m-list-item--active:not(.m-icon) {
    background: #4318FF !important;
    color: #fff !important;
}

.m-list-item-group .env-list.m-list-item--active .pencil.m-icon {
    color: #fff !important;
}

.m-list-item-group .env-list.m-list-item--active .m-list-item__title {
    color: #fff !important;
}

.env-list.m-list-item:not(.env-list.m-list-item--active):hover .pencil.m-icon {
    color: #1B2559 !important;
}

.env-list.m-list-item:hover .m-list-item__title {
    color: inherit !important;
}

.env-list.theme--light.m-list-item:hover::before {
    opacity: 0.08 !important;
    border-radius: 8px !important;
}

.env-list.m-list-item--link:before {
    border-radius: 8px !important;
}

.env-toolbar .m-toolbar__content {
    border-radius: 20px !important;
}

.cluster-tabs .m-tab {
    font-family: Roboto;
    font-style: normal;
    font-weight: normal;
    font-size: 1rem !important;
    line-height: 28px;
    margin: 0 4px;
    text-transform: none;
}

.cluster-tab-active .m-icon {
    color: inherit !important;
}

.cluster-tabs .m-tab:not(.m-tab--active) {
    color: rgb(118, 129, 171) !important;
}

.cluster-tab-active {
    color: #fff !important;
    background: #4318FF !important;
    border-radius: 8px !important;
}

    .cluster-tab-active i.m-icon.m-icon.mdi.mdi-pencil {
        color: #fff !important;
    }

.cluster-tabs .m-tab:not(.m-tab--active.cluster-tab-active):hover {
    background: #F6F8FD !important;
    border-radius: 8px !important;
    color: #1B2559 !important;
}

    .cluster-tabs .m-tab:not(.m-tab--active.cluster-tab-active):hover .m-icon {
        color: #1B2559 !important;
    }

.cluster-tabs .m-tab::before {
    border-radius: 8px !important;
}

.cluster-tabs .m-slide-group__content.m-tabs-bar__content {
    display: flex;
    align-items: center;
}

.text-overflow {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-overflow2 {
    -webkit-line-clamp: 2;
    word-break: break-all;
    overflow: hidden;
    white-space: pre-wrap;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.m-menu__content {
    max-width: 636px !important;
}

.app-tab .m-window-item.m-window-item--active {
    height: 100% !important;
}

.m-expansion-panel-header {
    padding: 20px 24px !important;
}

.envClusterChip.m-chip:before {
    background-color: inherit !important;
}

.m-stepper__content.full-height .m-stepper__wrapper {
    height: 100% !important;
}

.m-expansion-panel-header:before {
    content: none !important;
}

/*timeline*/
.m-timeline-item__divider {
    min-width: 40px !important;
}

.m-timeline-item {
    margin-right: 56px !important;
}

.m-timeline-item__dot--small {
    width: 20px !important;
    height: 20px !important;
}

.text-overflow .m-chip__content {
    display: initial !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: initial !important;
}

.m-expansion-panel-header {
    padding: 20px 24px !important;
}

.env-cluster-chip-group .m-slide-group__prev {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    margin-right: 8px;
}

.env-cluster-chip-group .m-slide-group__next {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    margin-left: 8px;
}

.project-list .m-expansion-panel:last-child {
    margin-bottom: 0 !important;
}

textarea:disabled {
    color: rgba(0,0,0,.5);
}

.masa-stack-components .m-input.m-textarea.rounded-r-0 fieldset {
    border-bottom-right-radius: 0 !important;
    border-top-right-radius: 0 !important;
}

.masa-stack-components .m-input.m-textarea.rounded-l-0 fieldset {
    border-bottom-left-radius: 0 !important;
    border-top-left-radius: 0 !important;
}

.overflow-hidden .m-navigation-drawer__content {
    overflow-x: hidden;
    overflow-y: hidden;
}


.m-expansion-panel-header.m-expansion-panel--disabled.m-btn--disabled .m-btn .m-icon {
    color: rgba(0,0,0,.26) !important;
}

.masa-stack-components .m-data-table-header tr .m-icon {
    color: #A3AED0 !important;
}

.enable-encryption .m-input--switch__track {
    color: #E9EDF7 !important;
}

.m-chip--envcluster:not(.m-chip--active) {
    border-color: #E4E8F3 !important;
}

    .m-chip--envcluster:not(.m-chip--active) .emphasis2--text {
        color: #7681AB !important;
    }

.m-chip--envcluster .split--text {
    color: #E4E8F3;
}

/* table border begin */
.table-header-border-1 table {
    border-collapse: collapse;
}

.table-header-border-1 thead tr {
    border-bottom: solid 0.5px #E4E8F3;
}

    .table-header-border-1 thead tr th {
        height: 44px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

.table-header-border-1 tbody tr td {
    border-radius: 0 !important;
    border: 0px !important;
    margin-top: 0 16px !important;
    color: #485585;
}
/* table border end */

.m-timeline::before {
    background: #E4E8F3 !important;
}

.remove-bg-after::after {
    background: none !important;
}

.label-cards div:nth-child(3n-1) .m-card {
    margin-left: 24px;
    margin-right: 24px;
}
/* appcard */
.masa-main .appcard {
    border-radius: 12px !important;
}
.masa-main .appcard .appname {
    max-width: 240px; 
    overflow: hidden;
}
    .masa-main .appcard .cardaction {
        padding-bottom: 12px !important;
        align-items: start;
        flex-direction: column
    }

.menu-configmore {
    box-shadow: 0px 8px 24px rgba(50, 61, 111, 0.08);
    border-radius: 8px !important;
}
.menu-configmore .m-list .m-list-item:hover {
    border-radius: 4px;
    background-color: #F6F8FD;
}
.menu-configmore .m-divider__wrapper .m-divider {
    margin-left: 9px;
    margin-right: 9px;
}
.separator {
    margin-top: 6px;
    margin-right: 24px;
}
.separator .m-divider--vertical {
    height: 24px;
    border-color: #E4E8F3 !important;
}
.masa-main .rounded-lg, .masa-main .rounded-2 {
    border-radius: 8px !important;
}
